|
21.2
|
AT^SJNET Set Dialup Network Access Parameters
|
The AT^SJNET write command allows to create a profile which contains all parameters needed for automated network access through a dialup connection.
|
|
|
|
|
^SJNET:("csd"|"gprs"), ("Tel. num."|"access point name"), ("login"), ("password"), ("dns"), (list of supported <timeout>s)
|
|
|
|
•
|
If <bearer service> is "csd", then parameter specifies the dialup phone number. The phone number can be modified to select between ISDN and anlaog call and to choose a bitrate. See also examples below.
|
Specifies the Primary DNS server (Nameserver) for the dialup network. The server address has to be specified in dotted IP address format (e.g. 145.146.147.148). If the parameter is omitted, the DNS assigned by the network is used.
It is recommended to set manual DNS server addresses rather than using automatic DNS assignment. This avoids problems in case the network is unable to properly handle the automatic DNS service.
Parameter is global for all interfaces, volatile and will not be reset by
AT&F.
Specifies the Java network idle timeout, which is the number of seconds to wait before the network connection is terminated automatically when no data transfer or other network activities take place. The value 0 means no timeout at all (you have to terminate a Circuit Switched Data connection using
ATH and a GPRS connection using
AT+CGATT=0).
We recommend to use values greater than 10 seconds because otherwise you may get unintentional timeouts for slow network connections.
Parameter is global for all interfaces, volatile and will not be reset by
AT&F.
|
EXAMPLE 1
|
This example illustrates how to configure a profile for circuit switched network access: The dialup phone number is +49800654321, user name is "user1", password is "dialup123", and the primary DNS has IP address "145.146.147.148". The phone number does not contain additional characters, therefore the destination is an analog device (default) and the bitrate is 9600 bps (default).
|
|
EXAMPLE 2
|
Same example as above, but the phone number contains additional characters for ISDN and 14400bps.
|